Klasse ValidValueProvider

java.lang.Object
com.inet.pdfc.config.ValidValueProvider

public class ValidValueProvider extends Object
An abstraction of the valid values of an enum property. In addition to the profile value, this instance provides a translated display value if available.
Seit:
5.0
  • Konstruktordetails

    • ValidValueProvider

      public ValidValueProvider(@Nonnull List<ValidValueProvider.ValidValue> values)
      Creates the provider for a list of well defined valid values
      Parameter:
      values - the list of valid values that will be returned by this provider
      Seit:
      5.0
    • ValidValueProvider

      public ValidValueProvider(Object[] values)
      Creates a value provider for values without translation.
      Parameter:
      values - the list of valid values that will be returned by this provider
      Seit:
      5.0
  • Methodendetails

    • getValidValues

      public List<ValidValueProvider.ValidValue> getValidValues()
      Returns the valid values of a property
      Gibt zurück:
      the valid values, not null
      Seit:
      5.0